<template>
  <div class="item">
      <img :src="item.picUrl" alt="">
      <div>{{item.name}} </div>
  </div>
</template>

<script>
export default {
    props:["item"]
}
</script>

<style scoped>
.item>img{
    width: 200px;
    height: 200px;
}
.item>div{
    width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
</style>